<?php
/*
 * Created on Nov 15, 2007
 * File: config.php
 * Project: BIMP
 * Author: jerrad
 */
 
  //require the includes php file one directory up
 require_once(dirname(__FILE__). DIRECTORY_SEPARATOR . "includes.php");
 
 	//Absolute path of root directory
 	//Must end in '/'
 	$CFG->web_root_dir = dirname(__FILE__). DIRECTORY_SEPARATOR;
 	
 	//Smarty Template settings
	$CFG->smarty_template_dir = $CFG->web_root_dir . "templates". DIRECTORY_SEPARATOR;
	$CFG->smarty_compile_dir  = $CFG->web_root_dir . "templates_c". DIRECTORY_SEPARATOR;
	$CFG->smarty_config_dir   = $CFG->web_root_dir . "configs". DIRECTORY_SEPARATOR;
	$CFG->smarty_cache_dir    = $CFG->web_root_dir . "cache". DIRECTORY_SEPARATOR;

	//Web site root Must end in slash
	$CFG->web_site_root = "http://localhost/BIMP/";
	
	//Web site path i.e. http://localhost/BIMP/templates
	$CFG->Web_Path_To_Template_dir = $CFG->web_site_root . "templates/";
	
	//Path to lib
	$CFG->lib_dirs = array($CFG->web_root_dir . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR,
	                       $CFG->web_root_dir . DIRECTORY_SEPARATOR . "lib" . DIRECTORY_SEPARATOR . "generated" . DIRECTORY_SEPARATOR
						  );
	
?>
